package com.ddwl.goods.dao.model;

import com.ddwl.common.dao.model.BaseModel;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Table;

/**
 * (ItemMedia)表实体类
 *
 * @author zach
 * @since 2020-10-29 10:37:37
 */
@Getter
@Setter
@Table(name = "sys_item_media")
public class ItemMedia extends BaseModel {
    /**
     * 0 商品 1 sku
     */     
    private Integer type;
    /**
     * 商品ID
     */     
    private String itemId;
    /**
     * 图片URL
     */     
    private String mediaUrl;
    /**
     * 图片序号
     */     
    private Integer mediaIndex;
    /**
     * 类型 0图片1视频
     */     
    private Integer mediaType;
}